How to Format Python Code on Save in Visual Studio Code
Youcanformatyourcodebyright-clickingontheeditorandselectingFormatDocument,orbyusingtheCtrl+Shift+Ikeyboardshortcut.Chooseaformatter·Setadefaultformatter·Generalformattingsettings,VSCodehasgreatsupportforsourcecodeformatting.Theeditorhastwoexplici...。參考影片的文章的如下: